/**
 * 测试页 
 */ 
import { layout } from '../base'
import { AppRouteRecordRaw } from '../types'

const TestList: AppRouteRecordRaw = {
    path: '/test',
    name: 'test',
    component: layout,
    meta: {
      show: true,
      slot: 10,
      title: '测试',
      icon: 'icon-apps'
    },
    children: [
        {
            path: 'one',
            name: 'testOne',
            component: () => import('@src/components/test/one.vue'),
            meta: {
              title: '测试一',
              requiresAuth: true,
              roles: ['*'],
              icon: 'icon-code-square'
            }
        },
        {
            path: 'two',
            name: 'testTwo',
            component: () => import('@src/components/test/two.vue'),
            meta: {
              title: '测试二',
              requiresAuth: true,
              roles: ['*'],
              icon: 'icon-code'
            }
        }
    ]
}

export default TestList